import java.sql.SQLException;
import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: MrN
 * Date: 21.11.11
 * Time: 21:21
 * To change this template use File | Settings | File Templates.
 */
public class testDrive
{
    public static void main(String[] args)  throws ClassNotFoundException, SQLException
    {
        SqlBot bot = new SqlBot();
        RSSReaderDOM parser = new RSSReaderDOM();
        ArrayList<News> listOfNews;


        //bot.addNews();
        //System.out.println(bot.checkNewsType("Ass")); // Seems to be working.
        //bot.addNewsType("Test"); // Seems to be working.
        bot.addFeed("www.vg.no", "IT", "http://www.vg.no/export/Alle/rdf.hbs?kat=data");

        //parser.writeNews("http://www.dn.no/rss/?section=dagensit");
    }
}
